<ion-view view-title="订单详情">
    <ion-content>
        <div class="list card" >
            <div class="item item-body">
                <h2>客户姓名:{{afaorder.nameo}}</h2>
                <p>客户联系电话：<a>{{afaorder.phone}}</a></p>
                <p>派送地址：{{afaorder.address}}</p>
                <p>套餐名称：{{afaorder.tcname}}</p>
            </div>
            <div class="item item-body" ng-repeat="pro in afaorder.ziorder">
                <h2>商品信息：{{pro.proname}} - {{pro.sname}}</h2>
                <h2>预约时间：{{pro.bookdate}}</h2>
                <h2>订单状态：{{pro.statuschn}}</h2>
                <div class="list card">
                    <label class="item item-input">
                        <div class="input-label">修改预约日期</div>
                        <input type="date" ng-model="pro.yydate">
                    </label>
                </div>

                <div class="list card">
                    <label class="item item-input item-select">
                        <div class="input-label">
                            选择时间
                        </div>
                        <select ng-model="pro.yyhour">
                            <option selected>8</option>
                            <option>9</option>
                            <option>10</option>
                            <option>11</option>
                            <option>12</option>
                            <option>13</option>
                            <option>14</option>
                            <option>15</option>
                            <option>16</option>
                            <option>17</option>
                            <option>18</option>
                        </select>
                    </label>
                </div>
                <button class="button button-block" ng-click="getdate(pro)">确认修改送货日期</button>
            </div>
        </div>
    </ion-content>
</ion-view>